<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
</head>
<body>

    <form method="post" action="http://localhost:8080/servlet-req1/login">

        <input type="text" name="username" placeholder="请输入用户名">
        <br>

        <input type="password" name="userpass" placeholder="请输入密码">
        <br>

        <input type="checkbox" name="hobby" value="1"> 游泳
        <input type="checkbox" name="hobby" value="2"> 爬山 <br>

        <input type="submit" value="登录">
    </form>

</body>
</html>